package com.medical.acc.service;

import com.medical.acc.model.Account;
import com.medical.acc.web.viewmodel.AccountModel;

import java.util.List;

/**
 * Created by Administrator on 2016/10/12.
 */
public interface AccountService {
    List<Account> selectAll(Boolean administrator);
    List<Account> searchList(String query, Integer page, Integer pageSize, String sortColumn, String sortDir);
    void postAccount(AccountModel accountModel);
    void patchAccount(AccountModel accountModel);
    int deleteByPrimaryKey(String id);
    Account selectByPrimaryKey(String id);
    void patchRecordForRemark(String recordId, String remark);
}
